package com.example.book.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author ryl
 * @since 2021-05-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Orders implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    private Double money;

    @TableField("receiverAddress")
    private String receiverAddress;

    @TableField("receiverName")
    private String receiverName;

    @TableField("receiverPhone")
    private String receiverPhone;

    private Integer paystate;

    private Date ordertime;


    @TableField(exist = false)
    private Integer userId;


}
